<template>
  <van-nav-bar title="绑定设备" left-text="返回" left-arrow @click-left="onClickLeft" />
  <main>
    <img src="../../img/1d.png" />
  </main>
  <footer>
    <button>立即绑定</button>
  </footer>
</template>
<script setup lang="ts">
import { useRouter } from 'vue-router'
const router = useRouter()
const onClickLeft = () => {
  router.go(-1)
}
</script>
<style>
body {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}
main {
  width: 100%;
  height: calc(100vh - 56px);
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
button {
  width: 100%;
  height: 56px;
  background-color: #00ea6e;
  border: none;
  outline: none;
  font-size: 20px;
  color: #fff;
  position: absolute;
  bottom: 0px;
  left: 0px;
}
</style>
